package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Activity;
import com.bonuo.crm.domain.Kpi;
import com.bonuo.crm.domain.Process;
import com.bonuo.crm.domain.Visit;
import com.ruoyi.common.core.domain.entity.SysUser;

import java.util.List;

public interface KpiMapper {
    List<Kpi> selectKpiList(Kpi kpi);

    Integer insertKpi(Kpi kpi);

    Integer updateKpi(Kpi kpi);

    Integer deleteKpiById(Integer id);

    Integer countProjectCollect(Kpi kpi);

    Integer countVisit(Kpi kpi);

    Integer countSalesMerchandiser(Kpi kpi);

    Integer countSalesChange(Kpi kpi);

    Integer countProjectActivity(Kpi kpi);

    Integer countProjectTender(Kpi kpi);

    Integer countProjectBusiness(Kpi kpi);

    List<SysUser> selectAllUser();

    Integer countByMonth(String examineDate);

    Integer countWeekly(Kpi kpi);
}
